package com.xxxy.dongyexuan.action;



import com.xxxy.dongyexuan.utils.TokenUtils;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class TokenAction {

    @GetMapping("/gettoken")
    public String getToken(){
        return TokenUtils.backToken();
    }

}
